From: Jonas Dreßler Date: Fri, 26 Feb 2021 13:36:35 +0000 (+0100) Subject: keyboard: Remove unused argument X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~138 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=6f39d76a3eadc2869ed00155b5d0f5ab54bd6bc0;p=gnome-shell.git keyboard: Remove unused argument Part-of: --- diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index ddec8b3ae..9e9a66fc6 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -1824,7 +1824,7 @@ var Keyboard = GObject.registerClass({ keyboardBox.queue_relayout(); } - _animateHide(immediate) { + _animateHide() { if (this._focusWindow) this._animateWindow(this._focusWindow, false); @@ -1835,7 +1835,7 @@ var Keyboard = GObject.registerClass({ this.ease({ translation_y: 0, opacity: 0, - duration: immediate ? 0 : KEYBOARD_ANIMATION_TIME, + duration: KEYBOARD_ANIMATION_TIME, mode: Clutter.AnimationMode.EASE_IN_QUAD, onComplete: () => { this._animateHideComplete();